package com.blacksheep.mtm.pojo.manager;

import java.util.Date;

public class TbMember {
    private Long id;

    private String supplierId;

    private String username;

    private String realname;

    private String idcode;

    private String password;

    private String phone;

    private String email;

    private Integer state;

    private Integer role;

    private String wxOpenid;

    private String wxssOpenid;

    private String file;

    private String description;

    private Date updateTime;

    private Date createTime;

    public TbMember(Long id, String supplierId, String username, String realname, String idcode, String password, String phone, String email, Integer state, Integer role, String wxOpenid, String wxssOpenid, String file, String description, Date updateTime, Date createTime) {
        this.id = id;
        this.supplierId = supplierId;
        this.username = username;
        this.realname = realname;
        this.idcode = idcode;
        this.password = password;
        this.phone = phone;
        this.email = email;
        this.state = state;
        this.role = role;
        this.wxOpenid = wxOpenid;
        this.wxssOpenid = wxssOpenid;
        this.file = file;
        this.description = description;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }

    public TbMember() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode == null ? null : idcode.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid == null ? null : wxOpenid.trim();
    }

    public String getWxssOpenid() {
        return wxssOpenid;
    }

    public void setWxssOpenid(String wxssOpenid) {
        this.wxssOpenid = wxssOpenid == null ? null : wxssOpenid.trim();
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file == null ? null : file.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "TbMember{" +
                "id=" + id +
                ", supplierId='" + supplierId + '\'' +
                ", username='" + username + '\'' +
                ", realname='" + realname + '\'' +
                ", idcode='" + idcode + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", state=" + state +
                ", role=" + role +
                ", wxOpenid='" + wxOpenid + '\'' +
                ", wxssOpenid='" + wxssOpenid + '\'' +
                ", file='" + file + '\'' +
                ", description='" + description + '\'' +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                '}';
    }
}